﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace CFR.Silverlight.Scheduling
{
    public class Calendar : INotifyPropertyChanged
    {
        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; RaisePropertyChanged("Name"); }
        }

        private string _description;

        public string Description
        {
            get { return _description; }
            set { _description = value; RaisePropertyChanged("Description"); }
        }

        private bool _isShownInScheduler;

        public bool IsShownInScheduler
        {
            get { return _isShownInScheduler; }
            set { _isShownInScheduler = value; RaisePropertyChanged("IsShownInScheduler"); }
        }

        public object Tag { get; set; }


        public string Location { get; set; }
        public TimeZoneInfo TimeZone { get; set; }
        public Brush Background { get; set; }



        #region INotifyPropertyChanged Members

        public event PropertyChangedEventHandler PropertyChanged;
        protected void RaisePropertyChanged(string prop)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new PropertyChangedEventArgs(prop));
        }
        #endregion
    }
}
